﻿using Syspetro.Core.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;

namespace Syspetro.Core.HttpService
{
    public class JsonContent : StringContent
    {
        public JsonContent(object obj) : base(JsonHelper.ToJson(obj), Encoding.UTF8, "application/json")
        {

        }
    }
}
